package com.woniuxy.purchasemanager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.commons.entity.purchaseManager.NeedEntity;
import com.woniuxy.commons.entity.purchaseManager.base.VoEntity;
import com.woniuxy.commons.utils.PageUtils;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 提交需求
 *
 * @author huangzhichao
 * @email 1205560871@gmail.com
 * @date 2022-04-19 13:00:28
 */
public interface NeedService extends IService<NeedEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //添加需求单
    boolean saveGoodsAll(HashMap<String, Object> map) ;

    //封装分页实体类
    VoEntity<NeedEntity> pageList(Integer currentPage, Integer pageSize);

    /**
     * 查询所有需求单商品信息
     * @Author: xianhao
     * @Date: 2022/4/22 15:28
     * @return: java.lang.Object
     **/
    List<NeedEntity> selectAll();
}

